<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>全国最大的汽车网</title>
<link rel="stylesheet" type="text/css" href="css/style_new.css" />

</head>
<body>
<div id="wrap">

	<s:include value="../header.jsp" />
       <div class="center_content">
       	<div class="left_content">
        	<div class="crumb_nav">
             	首页 &gt;&gt; 经销商列表
            </div>
            <div class="title"><span class="title_icon"><img src="images/bullet1.gif" alt="" title="" /></span>经销商</div>
           
           <div class="new_products">
           
                <s:iterator status="stat" value="agencyList" var="agen">


						<div class="feat_prod_box">

							<div class="prod_img">
								<a href="selectcarAgency.action?agencyID=${agen.aid}"><img src="images/prod1.gif" alt="" title=""
									border="0" />
								</a>
							</div>

							<div class="prod_det_box">
								<div class="box_top"></div>
								<div class="box_center">
									<div class="prod_title">名称：<s:property value="#agen.agencyname" /></div>
									<div class="prod_title">电话：<s:property value="#agen.phone" /></div>
									<div class="prod_title">网址：<s:a target="_blank" href="%{#agen.address}" ><s:property value="#agen.address" /></s:a></div>
									<a href="selectcarAgency.action?agencyID=${agen.aid}" class="more">- 查看汽车 -</a>
									<div class="clear"></div>
								</div>

								<div class="box_bottom"></div>
							</div>
							<div class="clear"></div>
						</div>


					</s:iterator>


            <div class="pagination">
            <s:a href="selectAgency.action?pageNum=1"><<</s:a>
            <s:a href="selectAgency.action?pageNum=%{pageNum-1}"><</s:a>
            <span class="current">${pageNum}</span>
            <s:a href="selectAgency.action?pageNum=%{pageNum+1}">></s:a>
            <s:a href="selectAgency.action?pageNum=%{pageCount}">>></s:a>
            </div>  
            
            </div> 
          
            
        <div class="clear"></div>
        </div><!--end of left content-->
        
        <div class="right_content">
                
             <s:include value="../cart.jsp" />
             <s:include value="../aboutour.jsp" />
             <s:include value="../right3.jsp"></s:include>     
             
        
        </div><!--end of right content-->
        
        
       
       
       <div class="clear"></div>
       </div><!--end of center content-->
       
<s:include value="../footer.jsp" />

</div>

</body>
</html>
